package org.edu.modules.stu.bxxl.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;
import java.util.Date;

/**
 * entity-保险理赔咨询回复表
 */
@TableName("ve_stu_insurance_reply")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="保险理赔咨询回复表对象", description="ve_stu_insurance_reply")
public class VeStuInsuranceReply extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "回复内容")
    @Length(max = 65535)
        private String answer;

    @TableField
    @ApiModelProperty(value = "咨询内容Id")
        private Integer askId;

    @TableField
    @ApiModelProperty(value = "回复人Id")
    @Length(max = 32)
        private String answerUserId;

    @TableField
    @ApiModelProperty(value = "")
    @Length(max = 255)
        private String answerUserName;

    @TableField
    @ApiModelProperty(value = "回复时间")
    @JsonFormat(timezone="GMT+8",locale="zh",  pattern="yyyy-MM-dd hh:mm:ss")
        private Date answerTime;
}
